package com.sitech.portal.system.service;

import java.util.HashMap;
import java.util.List;

import com.sitech.ibnms.core.IPage;
import com.sitech.ibnms.core.PageForm;

public interface ISysManageUnitService {

	public List findFirstLevelOfManageUnitList();

	public List findByParentUnitManageId(String MANAGE_UNIT_ID);

	public List findSelfManageId(String MANAGE_UNIT_ID);

	public int findCountByParentUnitManage_ID(String MANAGE_UNIT_ID);

	public IPage findChildManageUnitListByID(String MANAGE_UNIT_ID, PageForm pageForm);

	public IPage findFirstParentManageUnit(PageForm pageForm);

	public void deleteByPKs(String pId);

	public HashMap findObjByPK(String unitID);

	public void add(HashMap map);

	public void update(HashMap map);

	public List getManageUnitTreeList();

	public List getManageUnitIdsTreeList(String roleID);

	public void deleteForROLE_MANAGERUNITIDByRoleId(String roleID);

	public void insertTB_SYS_ROLE_MANAGERUNITID(HashMap map);
}
